package com.skd.mall.cart.service;


import com.skd.mall.cart.vo.Cart;
import com.skd.mall.cart.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

public interface ICartService {

    public Cart getCartList();

    CartItem addCart(String skuId, Integer num) throws ExecutionException, InterruptedException;

    void deleteCartList(Long skuId);

    List<CartItem> getUserCartItem();

    void updateCartList(List<Long> skuIdList);
}
